package text2;

public class Date {
		private int year;
		private int month;
		private int day;
		Date(int year,int month,int day){
			this.year=year;
			this.month=month;
			this.day=day;
		}
		public void tostring(int year,int month,int day) {
			System.out.println(year+"-"+month+"-"+day);
		}
}

